package com.yzy.fly.config.properties;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class CorsMappingConfig implements Serializable {

    private String pathPattern;
    private List<String> allowedOrigins;
    private List<String> allowedMethods;
    private List<String> allowedHeaders;
    private List<String> exposedHeaders;
    private boolean allowCredentials = true;
    private long maxAge = 3600;
}
